package com.bci.pwtz.mysql.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bci.pwtz.mysql.model.AdminMenu;

public interface AdminMenuMapper {
    int deleteByPrimaryKey(Long adminMenuId);

    int insert(AdminMenu record);

    int insertSelective(AdminMenu record);

    AdminMenu selectByPrimaryKey(Long adminMenuId);

    int updateByPrimaryKeySelective(AdminMenu record);

    int updateByPrimaryKey(AdminMenu record);
    
   /* List<AdminMenu> selectMenuByPid(@Param("pid") int pid,
            @Param("benginIndex") int benginIndex, @Param("pageSize") int pageSize);*/

    int selectMenuByPidNum(@Param("pid")int pid);
    
    List<AdminMenu> selectMenuByPid(int pid);
}